import React from 'react'
import ReactDOM from 'react-dom/client'
import WorkPlace from "./pages/WorkPlace/index.jsx";
import './index.css'
import {ConfigProvider, FloatButton} from "antd";
import {CustomerServiceOutlined} from '@ant-design/icons'

ReactDOM.createRoot(document.getElementById('root')).render(
    <React.StrictMode>
        <ConfigProvider
            theme={{
                token: {
                    // Seed Token，影响范围大
                    colorPrimary: '#7b79f1',
                    borderRadius: 8,
                    // 派生变量，影响范围小
                },
            }}
        >
            <WorkPlace/>
            <FloatButton
                shape="square"
                type="primary"
                style={{
                    right: 24,
                }}
                icon={<CustomerServiceOutlined/>}
            />
        </ConfigProvider>

    </React.StrictMode>,
)
